Skip to content

Bugfix: NDR report conditionals#2475

Merged
davemfish merged 2 commits intonatcap:mainfrom
emilyanndavis:bugfix/2472-ndr-report-conditionals
Apr 3, 2026
Merged

Bugfix: NDR report conditionals#2475
davemfish merged 2 commits intonatcap:mainfrom
emilyanndavis:bugfix/2472-ndr-report-conditionals

Conversation

@emilyanndavis
Copy link
Copy Markdown
Member

Description

Fixes #2472. Specifically: I've moved the affected RasterPlotConfig instantiations into the relevant conditional blocks.

I also removed the _get_nutrient_dependent_list function. I think I initially used this function to support output_raster_plot_configs as well as results_vector_cols_to_sum, but since it was dropped from one use case, it seemed logical to drop it from the other as well.

Checklist

  • Updated HISTORY.rst and link to any relevant issue (if these changes are user-facing)
    - [ ] Updated the user's guide (if needed)
  • Tested the Workbench UI (if relevant)

@emilyanndavis emilyanndavis requested a review from davemfish April 3, 2026 17:05
Copy link
Copy Markdown
Contributor

@davemfish davemfish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@davemfish davemfish merged commit f2c9cf5 into natcap:main Apr 3, 2026
41 checks passed
@emilyanndavis emilyanndavis deleted the bugfix/2472-ndr-report-conditionals branch April 3, 2026 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reports: NDR KeyError when the model is run with conditional configurations.

2 participants